<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Test Suite for geoPolygonUtils library</title>
  <script language="JavaScript" type="text/javascript"
      src="../tools/jsunit/app/jsUnitCore.js"></script>
  <script language="JavaScript" type="text/javascript">
    function pathToTest(testPath) {
      // With JSUnit you can add tests to the suite using its relative path.
      // Although, the path should be relative to testRunner.html, which is
      // part of JSUnit distribution.
      // This function takes a path to the test relative to 'tests' directory
      // and returns the path relative to testRunner.
      return '../../tests/' + testPath;
    }


    function geometrySuite() {
      var result = new top.jsUnitTestSuite();
      result.addTestPage(pathToTest('testGeometryPrecision.html'));
      result.addTestPage(pathToTest('testGeometryVector.html'));
      result.addTestPage(pathToTest('testGeometryLine.html'));
      result.addTestPage(pathToTest('testGeometrySegment.html'));
      result.addTestPage(pathToTest('testGoogleMapsAdapter.html'));
      result.addTestPage(pathToTest('testUtilsCorrectAngles.html'));
      return result;
    }


    function suite() {
      var newsuite = new top.jsUnitTestSuite();
      newsuite.addTestSuite(geometrySuite());
      return newsuite;
    }
  </script>
  <style>
    .code {
      color: green;
      font-weight: bold;
    }
  </style>
</head>
<body>
  <h1>Test Suite for <span class="code">geoPolygonUtils</span> library.</h1>
  <p>This page contains declaration of the test suite combining all the tests
  of <span class="code">geoPolygonUtils</span> library. To see it take a look
  at the source of the page.</p>
  <p><em>Note:</em> this file is intended to be used with
  <a href="http://www.jsunit.net/">JSUnit</a> test framework.</p>
</body>
</html>
